package com.libl.mapper;

import com.libl.vo.DayStatis;

import java.util.List;
import java.util.Map;

//专门用于统计功能的 mapper接口
public interface StatMapper {
    List<Map<String, Object>> findCategorySellData();

    List<DayStatis> findOrderAmts();

    List<DayStatis> findUserDayStatis();

    //用户统计
    List<String> findUserDay();
    Integer findUsersByDay(String day);

    //订单统计
    List<String> findOrderDay();
    List<Integer> findOrdersByDay(String day);
    List<Integer> findCustomersByDay(String day);
    List<Double> findPcrByDay(String day);
    List<Double> findAmountByDay(String day);

    //商品统计
    List<String> findGoodsDay();
    List<Integer> findOrderByDay(String day);
    List<Integer> findProductByDay(String day);
    List<Double> findAmountsByDay(String day);

}
